#include <iostream>
#include <vector>
#include <map>
template <typename T>
class Container
{
public:
	void print(T& t)
	{
		auto it = t.begin();
		for (; it != t.end(); ++it)
		{
			std::cout << it->first << ", " << it->second << std::endl;
		}
	}
};

int main()
{
	std::map<int, std::string>m;
	m.insert(std::make_pair(1, "ace"));
	m.insert(std::make_pair(1, "ace"));
	m.insert(std::make_pair(1, "ace"));
	Container<std::map<int, std::string>> c;
	c.print(m);
	return 0;
}